package zwp.example.demo1.demo_thread;

/**
 * 实现Runnable创建线程
 * @author zwp14
 */
public class MyRunnable implements Runnable{
    @Override
    public void run() {
        String name = Thread.currentThread().getName();
        System.out.println("实现Runnable创建线程----------"+name);
    }
}
